Skip to content

gml: decode feature-reference elements with an object-type name suffix#537

Merged
azahnen merged 2 commits into
masterfrom
gml-ref-type-suffix
Jun 22, 2026
Merged

gml: decode feature-reference elements with an object-type name suffix#537
azahnen merged 2 commits into
masterfrom
gml-ref-type-suffix

Conversation

@cportele

Copy link
Copy Markdown
Contributor

Some GML application schemas name a feature-reference property element with the referenced feature type appended (e.g. foo_Bar and foo_Baz instead of foo as the relationship role is named in the logical model). The GML decoder matched none of these, so the property was silently skipped.

  • FeatureTokenDecoderGmlInputProfile: new objectTypeSuffixedProperties, the names/aliases of feature-reference properties whose wire element carries a _<ObjectType> suffix.
  • FeatureTokenDecoderGml.lookupChild: for a declared property, accept an element whose local name is the base name optionally followed by a _<text> suffix; the suffix is ignored, since the referenced type is carried by the reference itself.
  • Spec coverage for the suffix match (declared/undeclared, suffixed/plain).

Some GML application schemas name a feature-reference property element with the referenced feature type appended (e.g. foo_Bar and foo_Baz instead of foo as the relationship role is named in the logical model). The GML decoder matched none of these, so the property was silently skipped.

- FeatureTokenDecoderGmlInputProfile: new objectTypeSuffixedProperties, the
  names/aliases of feature-reference properties whose wire element carries a
  _<ObjectType> suffix.
- FeatureTokenDecoderGml.lookupChild: for a declared property, accept an
  element whose local name is the base name optionally followed by a _<segment>
  suffix; the suffix is ignored, since the referenced type is carried by the
  reference itself.
- Spec coverage for the suffix match (declared/undeclared, suffixed/plain).
@azahnen azahnen enabled auto-merge (squash) June 22, 2026 07:42
@azahnen azahnen merged commit c4d381a into master Jun 22, 2026
3 checks passed
@azahnen azahnen deleted the gml-ref-type-suffix branch June 22, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants